home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Visual Basic Source Code
/
Visual Basic Source Code.iso
/
vbsource
/
ablood1a
/
form2.frm
< prev
next >
Wrap
Text File
|
1998-10-11
|
5KB
|
157 lines
VERSION 5.00
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCTL.OCX"
Begin VB.Form Form2
Caption = "Settings"
ClientHeight = 3360
ClientLeft = 60
ClientTop = 345
ClientWidth = 5385
LinkTopic = "Form2"
ScaleHeight = 3360
ScaleWidth = 5385
StartUpPosition = 3 'Windows Default
Begin VB.CommandButton Command1
Caption = "Apply"
BeginProperty Font
Name = "MS Sans Serif"
Size = 9.75
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 615
Left = 120
TabIndex = 3
Top = 2640
Width = 2655
End
Begin VB.CheckBox Check1
Caption = "Sound"
Height = 255
Left = 120
TabIndex = 2
Top = 2160
Width = 855
End
Begin MSComctlLib.Slider Slider1
Height = 495
Left = 0
TabIndex = 0
ToolTipText = "Select Size of Blood stream!"
Top = 480
Width = 5295
_ExtentX = 9340
_ExtentY = 873
_Version = 393216
OLEDropMode = 1
LargeChange = 10
Min = 1
Max = 100
SelStart = 1
TickFrequency = 5
Value = 1
End
Begin MSComctlLib.Slider Slider2
Height = 495
Left = 0
TabIndex = 7
ToolTipText = "Select Size of Blood stream!"
Top = 1560
Width = 5175
_ExtentX = 9128
_ExtentY = 873
_Version = 393216
OLEDropMode = 1
LargeChange = 3
Min = 1
Max = 15
SelStart = 1
TickFrequency = 3
Value = 1
End
Begin VB.Label Label5
Caption = "Select how many shot should be shown before clearing the screen"
Height = 255
Left = 120
TabIndex = 8
Top = 1200
Width = 4935
End
Begin VB.Shape Shape1
Height = 975
Left = 3000
Top = 2280
Width = 2295
End
Begin VB.Label Label4
Caption = "http://www.warpnet.org/bsi"
Height = 255
Left = 3120
TabIndex = 6
Top = 2880
Width = 2055
End
Begin VB.Label Label3
Caption = "Bootleg Software Inc."
Height = 255
Left = 3120
TabIndex = 5
Top = 2640
Width = 1575
End
Begin VB.Label Label2
Caption = "Author: Dustin Davis"
Height = 255
Left = 3120
TabIndex = 4
Top = 2400
Width = 1455
End
Begin VB.Label Label1
Caption = "Select Size of Blood Stream"
Height = 255
Left = 120
TabIndex = 1
Top = 120
Width = 2055
End
End
Attribute VB_Name = "Form2"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
'Blood Shot Screen Saver v1.0 Settings menu
'Author: Dustin Davis
'Bootleg Software Inc.
'http://www.warpnet.org/bsi
'
'Nothing special, just some slider bars and so on.
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
Private Sub Command1_Click()
SaveSetting "blood", "settings", "size", Slider1.Value
SaveSetting "blood", "settings", "clear", Slider2.Value
If Check1.Value = Checked Then
SaveSetting "blood", "settings", "sound", "true"
ElseIf Check1.Value = Unchecked Then
SaveSetting "blood", "settings", "sound", "false"
End If
Unload Me
End Sub
Private Sub Form_Load()
Dim sound As Boolean
sound = GetSetting("blood", "settings", "sound", "true")
If sound = True Then
Check1.Value = Checked
ElseIf sound = False Then
Check1.Value = Unchecked
End If
Slider1.Value = GetSetting("blood", "settings", "size", "20")
Slider1.Value = GetSetting("blood", "settings", "clear", "10")
End Sub